/*
day444 
2020.11.14 
*/

#include<iostream>
#include<vector>
using namespace std;

class Solution {
public:
    vector<int> selfDividingNumbers(int left, int right) {
    	vector<int> res;
		for(int i=left;i<=right;++i)
		{
			if(this->isselfDividingNumbers(i))
			{
				res.push_back(i);
			}
		}
		
		return res;
    }
    
    bool isselfDividingNumbers(int n)
    {
    	int record=n,tem;
    	while(record)
    	{
    		tem=record%10;
    		record/=10;
    		
    		if(tem==0 || n%tem!=0) return false;
		}
		
		return true;
	}
};

int main()
{
	return 0;
 } 
